package org.formal.common.data;
/**
 * 返回数据集状态编码
 * 2018年9月8日	
 * description 	
 * @author jiangyan
 */
public enum CodeEnum {
	/**
	 * success请求成功 error 请求错误
	 */
	SUCCESS(200,"请求成功"),ERROR(500,"请求错误");
	
	private CodeEnum(int code, String description) {
		this.code = code;
		this.description = description;
	}
	/**
	 * 状态码
	 */
	private int code;
	/**
	 * 状态码描述
	 */
	private String description;
	
	public int getCode() {
		return code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
}
